home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / sticpsrc.lzh / SOURCE.ARC / NET < prev    next >
Text File  |  1990-01-26  |  9KB  |  245 lines

  1. #
  2. #    Makefile for KA9Q TCP/IP package for PC clones with Microsoft C
  3. #
  4. # switches:
  5. #    define the ones you want in the CFLAGS definition...
  6. #
  7. #    AMIGA        - include Amiga specific code
  8. #    ATARI_ST    - include Atari ST specific code
  9. #    MSDOS        - include Messy-Dos specific code
  10. #    UNIX        - Use UNIX file format conventions
  11. #    CPM        - Use CP/M file format conventions
  12.  
  13. #
  14. # CFLAGS for typical IBM-PC installation
  15. # BE CAREFUL when changing optimization options.  There are many problems
  16. # with at least the 5.1 release of the Microsoft C compiler!
  17. #
  18. CFLAGS= -DMSC -DTHSEP='.' -AM -Gs -Zp
  19. # Assembler flags
  20. AFLAGS= -DMSC=1 -DLARGECODE=1 -Mx
  21.  
  22. .c.obj:
  23.     cl -nologo $(CFLAGS) -Ols -c $*.c
  24.  
  25. .asm.obj:
  26.     masm $(AFLAGS) $*.asm;
  27.  
  28. NETOBJS1= telnet.obj tnserv.obj smisc.obj rcmd.obj fingserv.obj fingcli.obj ftpserv.obj ftpcli.obj ftp.obj smtpserv.obj smtpcli.obj tcpcmd.obj tcpuser.obj tcptimer.obj
  29.  
  30. NETOBJS2= tcpout.obj tcpin.obj tcpsubr.obj udpcmd.obj udp.obj udpsubr.obj ipcmd.obj ip.obj iproute.obj ipsubr.obj icmpcmd.obj icmp.obj icmpsubr.obj arpcmd.obj arp.obj arpsubr.obj arptypes.obj
  31.  
  32. NETOBJS3= ax25cmd.obj ax25user.obj ax25.obj ax25subr.obj ax25serv.obj tnc2.obj ax_mbx.obj lapbtime.obj lapb.obj persist.obj slip.obj kiss.obj nr3.obj nr4.obj nr7.obj nrcmd.obj
  33.  
  34. NETOBJS4= nrsubr.obj nrs.obj iface.obj timer.obj ttydriv.obj cmdparse.obj mbuf.obj netuser.obj environ.obj misc.obj pathname.obj password.obj icmpmsg.obj buffers.obj
  35.  
  36. NETDUMP= trace.obj enetdump.obj ax25dump.obj arpdump.obj ipdump.obj icmpdump.obj udpdump.obj tcpdump.obj
  37.  
  38. PCOBJS= pc.obj dirutil.obj scc.obj eccmd.obj ec.obj ecvec.obj pktdrvr.obj pkvec.obj enet.obj pc_tnc2.obj combios.obj 8250.obj asyvec.obj sccvec.obj tnc2vec.obj comvec.obj pcgen.obj pcint.obj pcirq.obj
  39.  
  40.  
  41.  
  42. 8250.obj:    8250.c global.h asy.h 8250.h iface.h
  43.  
  44. arp.obj:    arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h arp.h
  45.  
  46. arpcmd.obj:    arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h cmdparse.h
  47.  
  48. arpdump.obj:    arpdump.c global.h mbuf.h timer.h arp.h ax25.h
  49.  
  50. arpsubr.obj:    arpsubr.c global.h mbuf.h timer.h iface.h enet.h ax25.h arp.h
  51.  
  52. arptypes.obj:    arptypes.c global.h
  53.  
  54. asyvec.obj:    asyvec.asm pmacros.h
  55.  
  56. at.obj:        at.c global.h timer.h cmdparse.h
  57.  
  58. ax25.obj:    ax25.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h lapb.h
  59.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  60.  
  61. ax25cmd.obj:    ax25cmd.c global.h mbuf.h ax25.h timer.h iface.h lapb.h cmdparse.h session.h
  62.  
  63. ax25dump.obj:    ax25dump.c global.h mbuf.h ax25.h timer.h lapb.h ip.h trace.h
  64.  
  65. ax25serv.obj:    ax25serv.c config.h global.h mbuf.h iface.h timer.h ax25.h lapb.h cmdparse.h session.h slip.h tnc2.h
  66.  
  67. ax25subr.obj:    ax25subr.c global.h mbuf.h timer.h ax25.h lapb.h
  68.  
  69. ax25user.obj:    ax25user.c global.h mbuf.h timer.h iface.h ax25.h lapb.h
  70.  
  71. ax_mbx.obj:    ax_mbx.c global.h mbuf.h ax25.h timer.h iface.h lapb.h ax_mbx.h 
  72.  
  73. buffers.obj:    buffers.c global.h mbuf.h buffers.h
  74.  
  75. cmdparse.obj:    cmdparse.c global.h cmdparse.h
  76.  
  77. combios.obj:    combios.c global.h asy.h combios.h slip.h iface.h
  78.  
  79. comvec.obj:    comvec.asm pmacros.h
  80.  
  81. dirutil.obj:    dirutil.c global.h
  82.  
  83. ec.obj:        ec.c global.h mbuf.h enet.h iface.h ec.h timer.h arp.h trace.h
  84.  
  85. eccmd.obj:    eccmd.c global.h mbuf.h iface.h ec.h
  86.  
  87. ecvec.obj:    ecvec.asm pmacros.h
  88.  
  89. enet.obj:    enet.c global.h mbuf.h iface.h timer.h arp.h enet.h
  90.  
  91. enetdump.obj:    enetdump.c global.h mbuf.h enet.h trace.h
  92.  
  93. environ.obj:    environ.c global.h environ.h
  94.  
  95. files.obj:    files.c global.h
  96.  
  97. fingcli.obj:    fingcli.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h finger.h session.h
  98.  
  99. fingserv.obj:    fingserv.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h finger.h session.h
  100.  
  101. ftp.obj:    ftp.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h session.h
  102.  
  103. ftpcli.obj:    ftpcli.c global.h mbuf.h netuser.h icmp.h timer.h tcp.h ftp.h session.h cmdparse.h
  104.  
  105. ftpserv.obj:    ftpserv.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h
  106.  
  107. icmp.obj:    icmp.c global.h mbuf.h internet.h timer.h iface.h ip.h icmp.h
  108.  
  109. icmpcmd.obj:    icmpcmd.c global.h icmp.h mbuf.h netuser.h internet.h timer.h ping.h
  110.  
  111. icmpdump.obj:    icmpdump.c global.h mbuf.h internet.h icmp.h trace.h
  112.  
  113. icmpmsg.obj:    icmpmsg.c global.h
  114.  
  115. icmpsubr.obj:    icmpsubr.c global.h mbuf.h internet.h icmp.h
  116.  
  117. iface.obj:    iface.c global.h iface.h
  118.  
  119. ip.obj:        ip.c global.h mbuf.h timer.h internet.h iface.h ip.h icmp.h
  120.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  121.  
  122. ipcmd.obj:    ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h
  123.  
  124. ipdump.obj:    ipdump.c global.h mbuf.h internet.h timer.h iface.h ip.h trace.h netuser.h
  125.  
  126. iproute.obj:    iproute.c global.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
  127.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  128.  
  129. ipsubr.obj:    ipsubr.c global.h mbuf.h internet.h timer.h netuser.h ip.h
  130.  
  131. kiss.obj:    kiss.c global.h mbuf.h iface.h kiss.h trace.h
  132.  
  133. lapb.obj:    lapb.c global.h mbuf.h timer.h ax25.h lapb.h
  134.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  135.  
  136. lapbtime.obj:    lapbtime.c global.h mbuf.h ax25.h timer.h lapb.h
  137.  
  138. lcsum.obj:    lcsum.c global.h
  139.  
  140. main.obj:    main.c config.h global.h mbuf.h buffers.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ax25.h lapb.h ftp.h telnet.h remote.h session.h cmdparse.h kiss.h slip.h tnc2.h asy.h nrs.h trace.h
  141.  
  142. mbuf.obj:    mbuf.c global.h mbuf.h
  143.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  144.  
  145. misc.obj:    misc.c global.h
  146.  
  147. netuser.obj:    netuser.c global.h netuser.h
  148.  
  149. nr3.obj:    nr3.c global.h mbuf.h iface.h trace.h timer.h arp.h slip.h ax25.h netrom.h lapb.h ip.h
  150.  
  151. nr4.obj:    nr4.c global.h mbuf.h iface.h timer.h ax25.h netrom.h
  152.  
  153. nr7.obj:    nr7.c global.h mbuf.h iface.h timer.h ax25.h lapb.h netrom.h cmdparse.h
  154.  
  155. nrcmd.obj:    nrcmd.c global.h mbuf.h ax25.h netrom.h timer.h iface.h lapb.h cmdparse.h
  156.  
  157. nrs.obj:    nrs.c global.h mbuf.h iface.h ax25.h nrs.h asy.h combios.h trace.h
  158.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  159.  
  160. nrsubr.obj:    nrsubr.c global.h mbuf.h timer.h ax25.h netrom.h lapb.h
  161.  
  162. password.obj:    password.c global.h password.h
  163.  
  164. pathname.obj:    pathname.c global.h
  165.  
  166. pc.obj:        pc.c config.h global.h mbuf.h internet.h iface.h cmdparse.h timer.h environ.h
  167.  
  168. pcgen.obj:    pcgen.asm pmacros.h
  169.  
  170. pcint.obj:    pcint.asm pmacros.h
  171.  
  172. pcirq.obj:    pcirq.c global.h
  173.  
  174. pc_tnc2.obj:    pc_tnc2.c global.h ax25.h timer.h slip.h tnc2.h
  175.  
  176. persist.obj:    persist.c global.h ax25.h iface.h persist.h timer.h
  177.  
  178. pktdrvr.obj:    pktdrvr.c global.h mbuf.h enet.h iface.h ec.h timer.h arp.h trace.h regs.h pktdrvr.h
  179.  
  180. pkvec.obj:    pkvec.asm pmacros.h
  181.  
  182. rcmd.obj:    rcmd.c global.h mbuf.h netuser.h timer.h tcp.h password.h rcmd.h cmdparse.h
  183.  
  184. scc.obj:    scc.c global.h mbuf.h buffers.h iface.h slip.h scc.h 8530.h ax25.h trace.h
  185.     cl -nologo $(CFLAGS) -Olt -c $*.c
  186.  
  187. sccvec.obj:    sccvec.asm pmacros.h
  188.  
  189. session.obj:    session.c global.h config.h mbuf.h netuser.h timer.h tcp.h ax25.h lapb.h ftp.h telnet.h finger.h session.h cmdparse.h
  190.  
  191. slip.obj:    slip.c global.h mbuf.h iface.h ax25.h slip.h asy.h combios.h trace.h
  192.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  193.  
  194. smisc.obj:    smisc.c global.h mbuf.h netuser.h timer.h tcp.h remote.h
  195.  
  196. smtpcli.obj:    smtpcli.c global.h netuser.h mbuf.h timer.h tcp.h smtp.h trace.h cmdparse.h
  197.  
  198. smtpserv.obj:    smtpserv.c global.h mbuf.h netuser.h timer.h tcp.h smtp.h
  199.  
  200. tcpcmd.obj:    tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h cmdparse.h
  201.  
  202. tcpdump.obj:    tcpdump.c global.h mbuf.h netuser.h internet.h timer.h tcp.h trace.h
  203.  
  204. tcpin.obj:    tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
  205.  
  206. tcpout.obj:    tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  207.  
  208. tcpsubr.obj:    tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  209.  
  210. tcptimer.obj:    tcptimer.c global.h mbuf.h timer.h netuser.h internet.h tcp.h
  211.  
  212. tcpuser.obj:    tcpuser.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  213.  
  214. telnet.obj:    telnet.c global.h mbuf.h timer.h icmp.h netuser.h tcp.h telnet.h session.h
  215.  
  216. timer.obj:    timer.c global.h timer.h
  217.  
  218. tnc2.obj:    tnc2.c global.h mbuf.h iface.h timer.h ax25.h lapb.h kiss.h slip.h tnc2.h
  219.  
  220. tnc2vec.obj:    tnc2vec.asm pmacros.h
  221.  
  222. tnserv.obj:    tnserv.c global.h mbuf.h timer.h icmp.h netuser.h tcp.h telnet.h session.h
  223.  
  224. trace.obj:    trace.c global.h mbuf.h iface.h trace.h
  225.  
  226. ttydriv.obj:    ttydriv.c global.h
  227.  
  228. udp.obj:    udp.c global.h mbuf.